
<%@ page import="sistema.Fabricante" %>
<!doctype html>
<html>
  <head>
    <meta name="layout" content="main">
  <g:set var="entityName" value="${message(code: 'fabricante.label', default: 'Fabricante')}" />
  <title><g:message code="default.show.label" args="[entityName]" /></title>
</head>
<body>
  <a href="#show-fabricante" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
  <div class="nav" role="navigation">
    <ul>
      <li><g:link class="home" controller="admin" action="index">Home</g:link></li>
      <li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
      <li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
    </ul>
  </div>
  <div id="show-fabricante" class="content scaffold-show" role="main">
    <h1><g:message code="default.show.label" args="[entityName]" /></h1>
    <g:if test="${flash.message}">
      <div class="message" role="status">${flash.message}</div>
    </g:if>
    <ol class="property-list fabricante">

      <g:if test="${fabricanteInstance?.cnpj}">
        <li class="fieldcontain">
          <span id="cnpj-label" class="property-label"><g:message code="fabricante.cnpj.label" default="Cnpj" /></span>

          <span class="property-value" aria-labelledby="cnpj-label"><g:fieldValue bean="${fabricanteInstance}" field="cnpj"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.incricaoEstadual}">
        <li class="fieldcontain">
          <span id="incricaoEstadual-label" class="property-label"><g:message code="fabricante.incricaoEstadual.label" default="Incricao Estadual" /></span>

          <span class="property-value" aria-labelledby="incricaoEstadual-label"><g:fieldValue bean="${fabricanteInstance}" field="incricaoEstadual"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.razaoSocial}">
        <li class="fieldcontain">
          <span id="razaoSocial-label" class="property-label"><g:message code="fabricante.razaoSocial.label" default="Razao Social" /></span>

          <span class="property-value" aria-labelledby="razaoSocial-label"><g:fieldValue bean="${fabricanteInstance}" field="razaoSocial"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.nomeFantasia}">
        <li class="fieldcontain">
          <span id="nomeFantasia-label" class="property-label"><g:message code="fabricante.nomeFantasia.label" default="Nome Fantasia" /></span>

          <span class="property-value" aria-labelledby="nomeFantasia-label"><g:fieldValue bean="${fabricanteInstance}" field="nomeFantasia"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.rua}">
        <li class="fieldcontain">
          <span id="rua-label" class="property-label"><g:message code="fabricante.rua.label" default="Rua" /></span>

          <span class="property-value" aria-labelledby="rua-label"><g:fieldValue bean="${fabricanteInstance}" field="rua"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.numPredio}">
        <li class="fieldcontain">
          <span id="numPredio-label" class="property-label"><g:message code="fabricante.numPredio.label" default="Num Predio" /></span>

          <span class="property-value" aria-labelledby="numPredio-label"><g:fieldValue bean="${fabricanteInstance}" field="numPredio"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.bairro}">
        <li class="fieldcontain">
          <span id="bairro-label" class="property-label"><g:message code="fabricante.bairro.label" default="Bairro" /></span>

          <span class="property-value" aria-labelledby="bairro-label"><g:fieldValue bean="${fabricanteInstance}" field="bairro"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.cidade}">
        <li class="fieldcontain">
          <span id="cidade-label" class="property-label"><g:message code="fabricante.cidade.label" default="Cidade" /></span>

          <span class="property-value" aria-labelledby="cidade-label"><g:fieldValue bean="${fabricanteInstance}" field="cidade"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.cep}">
        <li class="fieldcontain">
          <span id="cep-label" class="property-label"><g:message code="fabricante.cep.label" default="Cep" /></span>

          <span class="property-value" aria-labelledby="cep-label"><g:fieldValue bean="${fabricanteInstance}" field="cep"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.tipoFornecedor}">
        <li class="fieldcontain">
          <span id="tipoFornecedor-label" class="property-label"><g:message code="fabricante.tipoFornecedor.label" default="Tipo Fornecedor" /></span>

          <span class="property-value" aria-labelledby="tipoFornecedor-label"><g:fieldValue bean="${fabricanteInstance}" field="tipoFornecedor"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.email}">
        <li class="fieldcontain">
          <span id="email-label" class="property-label"><g:message code="fabricante.email.label" default="Email" /></span>

          <span class="property-value" aria-labelledby="email-label"><g:fieldValue bean="${fabricanteInstance}" field="email"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.telefonePrinc}">
        <li class="fieldcontain">
          <span id="telefonePrinc-label" class="property-label"><g:message code="fabricante.telefonePrinc.label" default="Telefone Princ" /></span>

          <span class="property-value" aria-labelledby="telefonePrinc-label"><g:fieldValue bean="${fabricanteInstance}" field="telefonePrinc"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.telefoneFax}">
        <li class="fieldcontain">
          <span id="telefoneFax-label" class="property-label"><g:message code="fabricante.telefoneFax.label" default="Telefone Fax" /></span>

          <span class="property-value" aria-labelledby="telefoneFax-label"><g:fieldValue bean="${fabricanteInstance}" field="telefoneFax"/></span>

        </li>
      </g:if>

      <g:if test="${fabricanteInstance?.documentacao}">
        <li class="fieldcontain">
          <span id="documentacao-label" class="property-label"><g:message code="fabricante.documentacao.label" default="Documentacao" /></span>

        </li>
      </g:if>

    </ol>
    <g:form>
      <fieldset class="buttons">
        <g:hiddenField name="id" value="${fabricanteInstance?.id}" />
        <g:link class="edit" action="edit" id="${fabricanteInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
        <g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
      </fieldset>
    </g:form>
  </div>
</body>
</html>
